package com.auxgroup.hr.front.service.process;

import com.auxgroup.hr.front.commons.vo.UserDTO;
import com.auxgroup.hr.front.dao.domain.AbsWfEmplDomain;
import com.auxgroup.hr.front.dao.domain.PsCWfPlaveHdr;

/**
 * 可发起的通用服务
 */
public interface WfBaseApplyService<T extends AbsWfEmplDomain> {

	/**
	 * 获取申请信息
	 * @param transNum
	 * @return
	 */
	T getWfInfo(String transNum);

	/**
	 * 保存申请信息
	 * @return
	 */
	T saveWfInfo(T wkot, UserDTO user);

	/**
	 * 删除流程数据
	 * @param transNum
	 * @return
	 */
	void delWfInfo(String transNum);
}
 